import pickle
def loadobj(a:str):
     pic = open(a,'rb')
     data = pickle.load(pic)
     pic.close()
     return data
def saveobj(a:str,data):
     pic = open(a, 'wb')
     pickle.dump(data,pic)
     pic.close()